System performance logging of complex remote query processor query operations

ABSTRACT

Described are methods, systems and computer readable media for performance logging of complex query operations.

This application claims the benefit of U.S. Provisional Application No. 62/161,813, entitled “Computer Data System” and filed on May 14, 2015, which is incorporated herein by reference in its entirety.

Embodiments relate generally to computer database systems and computer networks, and more particularly, to methods, systems and computer readable media for logging query performance data, query sub-task performance data, and query interval performance data.

A need may exist for providing complex query systems with a means to measure query-related performance data. Some query-based systems may not offer a means to provide for logging total query performance data and for performance logging of updates to the dynamic components of a reoccurring query operation. Without the performance logging of updates to the reoccurring dynamic portions of the query operation, specific bottlenecks, trends, and issues attributable to a specific dynamic portion of a query operation may not be ascertainable.

Embodiments were conceived in light of the above mentioned needs, problems and/or limitations, among other things.

Some implementations can include a system for improving performance of a remote query computer system by using dynamic query performance logging to identify and remediate dataflow bottlenecks in the remote query computer system, the system comprising one or more processors, computer readable storage coupled to the one or more processors, the computer readable storage having stored thereon instructions that, when executed by the one or more processors, cause the one or more processors to perform operations. The operations can include receiving at a remote query processor on a query server computer a digital request for a remote query processor from a client computer. The operations can also include at the query server computer performing operations. The operations can include receiving a digital request from the client computer to execute a query task, executing the query task, generating a set of query task data, generating a set of query subtask data, collecting the set of query task data, digitally transmitting the set of query task data to one or more performance table loggers. The operations can further include collecting the set of query subtask data. The operations can also include transmitting the set of query subtask data to one or more performance table logger processes. The operations can further include the one or more performance table logger processes writing the set of query task data to a first set of electronic data systems for subsequent retrieval and analysis. The operations can include the one or more performance table logger processes writing the set of query subtask data to a second set of electronic data systems for subsequent retrieval and analysis with a processor retrieving the set of query task data and the set of query subtask data using a performance-enhancing processor to analyze the retrieved set of query task data and the retrieved set of query subtask data to obtain an analysis result with the performance-enhancing processor, identifying based on the analysis result an efficiency impediment in the query server computer using a processor to make changes to the stored instructions and thereby alleviate the identified efficiency impediment and improve efficiency of the remote query computer system wherein the efficiency impediment is one or more of a dataflow bottleneck, excessive use of processor resources, or excessive use of RAM.

The operations can also include configuring a query update interval, executing a query update within the query update interval, generating a set of query update data, collecting the set of query update data and writing the set of query update data to a third set of data systems for subsequent retrieval and analysis.

The operations can further include configuring a query update interval, executing a query update, determining that the query update may not complete within the query update interval, extending the query update interval to allow a full execution of the query update, generating a set of query update data, collecting the set of query update data and writing the set of query update data to a third set of data systems.

The operation can include the query task data including an initial data from one or more nodes an update propagation graph.

The operation can also include at least one of an instance of a class implementing a remote query interface, a remote method invocation on a table handle object, and a script or line of scripting code to be evaluated by an interpreter on a remote query processor.

The operation can further include generating a set of query update data that includes listening for an update to one or more dynamic nodes of an update propagation graph, determining an occurrence of an update to one or more nodes of the update propagation graph, creating data for each occurrence of an update to one or more nodes of the update propagation graph.

The operations can include where the first set of data systems for subsequent retrieval and analysis and the second set of data systems for subsequent retrieval and analysis include at least one of database tables and objects, and where the query task data includes performance data.

Some implementations can include a method comprising executing a query task. The method can also include generating a set of query task data. The method can further include generating a set of query subtask data. The method can include collecting the set of query task data. The method can also include collecting the set of query subtask data. The method can also include writing the set of query task data to a first set of data systems for subsequent retrieval and analysis. The method can further include writing the set of query subtask data to a second set of data systems for subsequent retrieval and analysis.

The method can further include configuring a query update interval. The method can include executing a query update within the query update interval. The method can also include generating a set of query update data. The method can include collecting the set of query update data. The method can also include writing the set of query update data to a third set of data systems for subsequent retrieval and analysis.

The method can include configuring a query update interval. The method can further include executing a query update. The method can include determining that the query update may not complete within the query update interval. The method can include extending the query update interval to allow a full execution of the query update. The method can also include generating a set of query update data. The method can further include collecting the set of query update data. The method can include writing the set of query update data to a third set of data systems.

The method can include wherein the first set of query task data includes an initial data from one or more nodes of an update propagation graph.

The method can further include where a query task includes at least one of an instance of a class implementing a remote query interface; a remote method invocation on a table handle object; and a script or line of scripting code to be evaluated by an interpreter on a remote query processor.

The method can include wherein generating a set of query update data includes listening for an update to one or more dynamic nodes of an update propagation graph. The method can also include determining an occurrence of an update to one or more nodes of the update propagation graph. The method can further include creating data for each occurrence of an update to one or more nodes of the update propagation graph.

The method can include where first set of data systems for subsequent retrieval and analysis and the second set of data systems for subsequent retrieval and analysis include at least one of database tables and objects. The method can also include where the query task data includes performance data.

Some implementations can include a nontransitory computer readable medium having stored thereon software instructions that, when executed by one or more processors, cause the one or more processors to perform operations including receiving a digital request from a client computer to execute a query task. The operations can include executing the query task. The operations can also include generating a set of query task data. The operations can include generating a set of query subtask data. The operations can further include collecting the set of query task data. The operations can include digitally transmitting the set of query task data to one or more performance table loggers. The operations can include collecting the set of query subtask data. The operations can further include transmitting the set of query subtask data to one or more performance table logger processes. The operations can include the one or more performance table logger processes writing the set of query task data to a first set of electronic data systems for subsequent retrieval and analysis. The operations can also include the one or more performance table logger processes writing the set of query subtask data to a second set of electronic data systems for subsequent retrieval and analysis. The operation can further include retrieving the set of query task data and the set of query subtask data. The operation can include analyzing the retrieved set of query task data and the retrieved set of query subtask data to obtain an analysis result. The operation can also include identifying based on the analysis result an efficiency impediment in a query server computer system. The operation can further include making changes to the stored instructions and thereby alleviating the identified efficiency impediment and improve efficiency of a remote query computer system, wherein the efficiency impediment is one or more of a dataflow bottleneck, excessive use of processor resources, or excessive use of RAM.

The operations can also include configuring a query update interval. The operations can further include executing a query update within the query update interval. The operations can include generating a set of query update data. The operation can also include collecting the set of query update data. The operations can further include writing the set of query update data to a third set of data systems for subsequent retrieval and analysis.

The operations can include configuring a query update interval. The operations can also include executing a query update. The operations can include determining that the query update may not complete within the query update interval. The operations can also include extending the query update interval to allow a full execution of the query update. The operations can further include generating a set of query update data. The operations can include collecting the set of query update data. The operations can also include writing the set of query update data to a third set of data systems.

The operations can include wherein the query task data includes an initial data from one or more nodes of an update propagation graph.

The operations can include where the query task includes at least one of an instance of a class implementing a remote query interface; a remote method invocation on a table handle object; and a script or line of scripting code to be evaluated by an interpreter on a remote query processor.

The operations can include wherein generating a set of query update data includes listening for an update to one or more dynamic nodes of an update propagation graph, determining an occurrence of an update to one or more nodes of the update propagation graph, and creating data for each occurrence of an update to one or more nodes of the update propagation graph.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram of an example computer data system showing an example data distribution configuration in accordance with some implementations.

FIG. 2 is a diagram of an example computer data system showing an example administration/process control arrangement in accordance with some implementations.

FIG. 3 is a diagram of an example computing device configured for performance data processing in accordance with some implementations.

FIG. 4 is a diagram of an example query server host architecture in accordance with some implementations.

FIG. 4A is a diagram of an example remote query processor in accordance with some implementations.

FIG. 5 is a diagram of example static and dynamic query nodes in accordance with some implementations.

FIG. 6 is a diagram of example dynamic and static node data collection sequence in accordance with some implementations.

FIG. 7 is a diagram of an example collection of performance data for the initial execution of a query in accordance with some implementations.

FIG. 7A is a diagram of an example collection of performance data for the dynamic execution of a query in accordance with some implementations.

FIG. 7B is a diagram of an example of three different types of query performance logging in accordance with some implementations.

FIG. 8 is a diagram of an example of a top-level query log in accordance with some implementations.

FIG. 9 is a diagram of an example of a query operation log in accordance with some implementations.

FIG. 9A is a diagram of an example of an update log in accordance with some implementations.

FIG. 10 is a flowchart showing an example method of operation for a performance data processing architecture in accordance with some implementations.

DETAILED DESCRIPTION

Reference is made herein to the Java programming language, Java classes, Java bytecode and the Java Virtual Machine (JVM) for purposes of illustrating example implementations. It will be appreciated that implementations can include other programming languages (e.g., groovy, Scala, R, Go, etc.), other programming language structures as an alternative to or in addition to Java classes (e.g., other language classes, objects, data structures, program units, code portions, script portions, etc.), other types of bytecode, object code and/or executable code, and/or other virtual machines or hardware implemented machines configured to execute a data system query.

FIG. 1 is a diagram of an example computer data system and network 100 showing an example data distribution configuration in accordance with some implementations. In particular, the system 100 includes an application host 102, aperiodic data import host 104, a query server host 106, a long-term file server 108, and a user data import host 110. While tables are used as an example data object in the description below, it will be appreciated that the data system described herein can also process other data objects such as mathematical objects (e.g., a singular value decomposition of values in a given range of one or more rows and columns of a table), TableMap objects, etc. A TableMap object provides the ability to lookup a Table by some key. This key represents a unique value (or unique tuple of values) from the columns aggregated on in a byExternal( ) statement execution, for example. A TableMap object can be the result of a byExternal( ) statement executed as part of a query. It will also be appreciated that the configurations shown in FIGS. 1 and 2 are for illustration purposes and in a given implementation each data pool (or data store) may be directly attached or may be managed by a file server.

The application host 102 can include one or more application processes 112, one or more log files 114 (e.g., sequential, row-oriented log files), one or more data log tailers 116 and a multicast key-value publisher 118. The periodic data import host 104 can include a local table data server, direct or remote connection to a periodic table data store 122 (e.g., a column-oriented table data store) and a data import server 120. The query server host 106 can include a multicast key-value subscriber 126, a performance table logger 128, local table data store 130 and one or more remote query processors (132, 134) each accessing one or more respective tables (136, 138). The long-term file server 108 can include a long-term data store 140. The user data import host 110 can include a remote user table server 142 and a user table data store 144. Row-oriented log files and column-oriented table data stores are discussed herein for illustration purposes and are not intended to be limiting. It will be appreciated that log files and/or data stores may be configured in other ways. In general, any data stores discussed herein could be configured in a manner suitable for a contemplated implementation.

In operation, the input data application process 112 can be configured to receive input data from a source (e.g., a securities trading data source), apply schema-specified, generated code to format the logged data as its being prepared for output to the log file 114 and store the received data in the sequential, row-oriented log file 114 via an optional data logging process. In some implementations, the data logging process can include a daemon, or background process task, that is configured to log raw input data received from the application process 112 to the sequential, row-oriented log files on disk and/or a shared memory queue (e.g., for sending data to the multicast publisher 118). Logging raw input data to log files can additionally serve to provide a backup copy of data that can be used in the event that downstream processing of the input data is halted or interrupted or otherwise becomes unreliable.

A data log tailer 116 can be configured to access the sequential, row-oriented log file(s) 114 to retrieve input data logged by the data logging process. In some implementations, the data log tailer 116 can be configured to perform strict byte reading and transmission to the data import server 120). The data import server 120 can be configured to store the input data into one or more corresponding data stores such as the periodic table data store 122 in a column-oriented configuration. The periodic table data store 122 can be used to store data that is being received within a time period (e.g., a minute, an hour, a day, etc.) and which may be later processed and stored in a data store of the long-term file server 108. For example, the periodic table data store 122 can include a plurality of data servers configured to store periodic securities trading data according to one or more characteristics of the data (e.g., a data value such as security symbol, the data source such as a given trading exchange, etc.).

The data import server 120 can be configured to receive and store data into the periodic table data store 122 in such away as to provide a consistent data presentation to other parts of the system. Providing/ensuring consistent data in this context can include, for example, recording logged data to a disk or memory, ensuring rows presented externally are available for consistent reading (e.g., to help ensure that if the system has part of a record, the system has all of the record without any errors), and preserving the order of records from a given data source. If data is presented to clients, such as a remote query processor (132, 134), then the data may be persisted in some fashion (e.g., written to disk).

The local table data server 124 can be configured to retrieve data stored in the periodic table data store 122 and provide the retrieved data to one or more remote query processors (132, 134) via an optional proxy.

The remote user table server (RUTS) 142 can include a centralized consistent data writer, as well as a data server that provides processors with consistent access to the data that it is responsible for managing. For example, users can provide input to the system by writing table data that is then consumed by query processor.

The remote query processors (132, 134) can use data from the data import server 120, local table data server 124 and/or from the long-term file server 108 to perform queries. The remote query processors (132, 134) can also receive data from the multicast key-value subscriber 126, which receives data from the multicast key-value publisher 118 in the application host 102. The performance table logger 128 can log performance information about each remote query processor and its respective queries into a local table data store 130. Further, the remote query processors can also read data from the RUTS, from local table data written by the performance logger, or from user table data read over NFS.

It will be appreciated that the configuration shown in FIG. 1 is a typical example configuration that may be somewhat idealized for illustration purposes. An actual configuration may include one or more of each server and/or host type. The hosts/servers shown in FIG. 1 (e.g., 102-110, 120, 124 and 142) may each be separate or two or more servers may be combined into one or more combined server systems. Data stores can include local/remote, shared/isolated and/or redundant. Any table data may flow through optional proxies indicated by an asterisk on certain connections to the remote query processors. Also, it will be appreciated that the term “periodic” is being used for illustration purposes and can include, but is not limited to, data that has been received within a given time period (e.g., millisecond, second, minute, hour, day, week, month, year, etc.) and which has not yet been stored to a long-term data store e.g., 140).

FIG. 2 is a diagram of an example computer data system 200 showing an example administration/process control arrangement in accordance with some implementations. The system 200 includes a production client host 202, a controller host 204, a GUI host or workstation 206, and query server hosts 208 and 210. It will be appreciated that there may be one or more of each of 202-210 in a given implementation.

The production client host 202 can include a batch query application 212 (e.g., a query that is executed from a command line interface or the like) and a real time query data consumer process 214 (e.g., an application that connects to and listens to tables created from the execution of a separate query). The batch query application 212 and the real time query data consumer 214 can connect to a remote query dispatcher 222 and one or more remote query processors (224, 226) within the query server host 1 208.

The controller host 204 can include a persistent query controller 216 configured to connect to a remote query dispatcher 232 and one or more remote query processors 228-230. In some implementations, the persistent query controller 216 can serve as the “primary client” for persistent queries and can request remote query processors from dispatchers, and send instructions to start persistent queries. For example, a user can submit a query to 216, and 216 starts and runs the query every day. In another example, a securities trading strategy could be a persistent query. The persistent query controller can start the trading strategy query every morning before the market open, for instance. It will be appreciated that 216 can work on times other than days. In some implementations, the controller may require its own clients to request that queries be started, stopped, etc. This can be done manually, or by scheduled (e.g., cron) jobs. Some implementations can include “advanced scheduling” (e.g., auto-start/stop/restart, time-based repeat, etc.) within the controller.

The GUI/host workstation can include a user console 218 and a user query application 220. The user console 218 can be configured to connect to the persistent query controller 216. The user query application 220 can be configured to connect to one or more remote query dispatchers (e.g., 232) and one or more remote query processors (228, 230).

FIG. 3 is a diagram of an example computing device 300 in accordance with at least one implementation. The computing device 300 includes one or more processors 302, operating system 304, computer readable medium 306 and network interface 308. The memory 306 can include performance table logger application 310 and a data section 312 (e.g., for storing ASTs, precompiled code, etc.).

In operation, the processor 302 may execute the application 310 stored in the memory 306. The application 310 can include software instructions that, when executed by the processor, cause the processor to perform operations for performance logging of complex query operations in accordance with the present disclosure (e.g., performing one or more of 1002-1018 described below).

The application program 310 can operate conjunction with the data section 312 and the operating system 304.

FIG. 4 is a diagram of an example query server host architecture 400 in accordance with some implementations. The query server host architecture 400 may include one or more remote query processors (402, 404, 406, 408), one or more performance table loggers 410, and one or more logs (412, 414, 416). The remote query processors (402, 404, 406, 408) can be connected to one or more performance table loggers 410. The one or more performance table loggers 410 can be responsible for one or more logs (412, 414, 416). The remote query processors (402, 404, 406, 408), the one or more performance table loggers 410, and one or more logs (412, 414, 416) can reside on a single computer system or can be distributed across different computer systems or servers.

The one or more remote query processors (402, 404, 406, 408) can monitor detailed real-time information during individual query processing. The remote query processors (402, 404, 406, 408) can forward the detailed query information to the performance table logger for storing in one or more logs. The remote query process is further described below in FIG. 4A.

It will be appreciated that logs can be a file, any set of data systems, or the like.

The one or more performance table loggers 410 can receive connections from to the one or more remote query processors (402, 404, 406, 408) and receive detailed real-time query information. The performance table logger 410 can format the received detailed real-time query information and can make a determination as to where, when, and how the formatted information should be stored. The performance table logger 410 is further described below in FIGS. 6A, 7, 7A, and 7B.

The top-level query log 412 can contain one or more entries for each query task. A query task can be submitted as (a) an instance of a class implementing a remote query interface; (b) a remote method invocation on a table handle object; or (c) a script or line of scripting code to be evaluated by an interpreter on the remote query processors (402, 404, 406, 408). The top-level query log 412 is further described below in FIG. 8.

The query operation log 414 can contain one or more entries for each instrumented sub-task of a query task and can be logged in order of the sub-task completion. The query operation log 414 is further described below in FIG. 9.

The update log 416 can contain one or more entries for each set of query sub-tasks that require update propagation. The update propagation can occur during an interval or at the end of a refresh cycle in order to record performance of the update propagation. The interval can be configurable. If an update propagation refresh cycle has not completed within the configured interval duration, the interval duration can be extended to reach the end of the update propagation refresh cycle. The update log 416 is further described below in FIG. 9A.

It will be appreciated that the query server host architecture 400 is a simplified configuration for purposes of illustrating the principles of the disclosed subject matter. An actual implementation may include one or more remote query processors, one or more performance table loggers and one or more log types.

FIG. 4A is a diagram of an example remote query processor 402 in accordance with some implementations. A remote query processor 402 can be connected to a user query application 418, a historical data store 420, and a real-time data store 422. The remote query processor 402, the user query application 418, the historical data store 420, and the real-time data store 422 can reside on a single computer system or can be distributed across different computer systems or servers.

The user query application 418 can submit jobs to the remote query processor 402. A job can contain a series of one or more query tasks. Query tasks can be instructions such as code in human-readable form, bytecode, references to stored procedures, or the like. Query tasks can be submitted as a language construct. For example the language construct can include (a) an instance of a class implementing a remote query interface; (b) a remote method invocation on a table handle object; (c) a script or line of scripting code to be evaluated by an interpreter on the remote query processor 402, or (d) similar language constructions.

The remote query processor 402 can receive jobs that can contain query tasks from the user query application 418. The remote query process 402 can examine the query task to determine the structure of the query task and the required data sources. The remote query process can execute query tasks and can build an update propagation graph 428 in the remote query process memory 426 to represent the outcome of the executed query task.

The update propagation graph 428 can be a structure that can be implemented with connected static and dynamic nodes. For example, the source nodes (t1, t2) can be tables derived from a raw data source. The children of the source nodes (t1, t2) can represent certain operations on the sources nodes (t1, t2) such as filtering by where clauses, grouping by clauses, average by clauses, joins, etc. An example makeup of an update propagation graph is explained in further detail in FIG. 5 below.

The historical data 420 can contain aged real-time data or any other data required by query tasks.

The real-time data 422 can contain data collected over an application-appropriate period of time, dynamically updated as new data becomes available.

FIG. 5 is a diagram of an example of static and dynamic table nodes 500 of an update propagation graph in accordance with some implementations. Some of the table nodes can be static nodes 502. Static nodes 502 can be nodes that contain data that does not change. For example, a static node can represent a source table that does not change. Some of the table nodes can be dynamic nodes 512. Dynamic nodes 512 can be nodes that can contain changing table data. For example, a dynamic node can be a table that permits changes through row additions, row deletions, row data modification, or re-indexing of rows. The static nodes 502 are an example of a static table 1 504 that is filtered by a where clause 1 508 that is subsequently aggregated by an avgby clause 1 510. The dynamic nodes 512 are an example of a dynamic table 2 514 that can be filtered by a where clause 2 516 that can subsequently be aggregated by an avgby clause 2 518. In the same example, the dynamic natural join 520 can be performed on avgby clause 1 510 and avgby clause 2 518, in which avgby clause 1 510 can be formed from table 1 504 via a where and avgby, and avgby clause 2 518 can be formed from table 2 514 via a where and an avgby.

The results (not shown) would be returned to the user query application 418. The refreshing of dynamic nodes 512 is described below in FIGS. 6, 7, 7A, and 7B.

FIG. 6 is an example dynamic and static node data collection sequence 600 in accordance with some implementations. Static or dynamic node 602 and static or dynamic node 610 can be nodes from an update propagation graph as explained in FIG. 5 above. Each static or dynamic node 602, 610 can include a result object 606, 614, and a notification listener 604, 612. Data 608, 616 collected from the notification listener 604, 612 can be forwarded to the performance table logger 410 for formatting and assembling into a log entry. The performance logger 410 can log the entries as rows into the top-level log 412, query operation log 414, or the update log 416. Top-level log 412 and query operation log 414 can be updated as static/initially-available data is processed.

It will be appreciated that as updates are propagated according to an update propagation graph, notification listeners can channel the propagation of updates through an update propagation graph.

It will be appreciated that rows in the top-level log 412 and query operation log 414 are not necessarily associated 1 to 1 with notification listeners in an update propagation graph. In contrast, an update log 416 can receive data delivered as notifications from notification listeners. Notification listeners can send notifications to the performance logger 410 as the notification listeners are traversed in the update propagation graph. It will also be appreciated that static nodes in an update propagation graph may not contain notification listeners.

The notification listener 604, 612 can be a software construct associated with a dynamic node 602, 610 that listens for events or changes regarding its associated node's result object 606, 614. Update performance for dynamic nodes can be captured by notification listeners 604, 612 and then batched up for eventual propagation to an update performance logger. Events for static nodes can include a query operation and/or sub-operation that can create a static node or an initialization of a static node. Events or changes for dynamic nodes can include a query operation and/or sub-operation that can create a dynamic node, an initialization of a dynamic node, an addition to dynamic node content, a modification of dynamic node content, a deletion of dynamic node content, or a re-indexing of dynamic node content. When a notification listener 604, 612 observes an event or change to a dynamic node 602, 610, the notification listener 604, 612 can collect data 608, 616 about the change and forward the data 608, 616 to the performance table logger 410 that can then be logged into the update log 416.

FIG. 7 is an example of a generation and collection of performance data for an initial execution of a query 700. The initial execution of an example query task that can be received by the remote query processor 402 from the user query application. The example query task can join two tables using filtering clauses. The query task can cause the remote query processor 402 to create an update propagation graph 428 in memory 426 that can be represented by static nodes 602 and dynamic nodes 612. The initial data 718 can be collected as an initial set of data and forwarded to the performance table logger 410 for logging into the top-level query log 412 and query operation log 414. It will be appreciated that the initial data 718 can be forwarded to the performance table logger 410 as individual data (702-716) and can then be combined into initial data 718 by the performance table logger 410 or the data (702-716) can be assembled into the initial data 718 before forwarding the initial data 718 to the performance table logger 410. It will also be appreciated that if a query is executed in multiple parts during a command line session, there may be “initial” data created during each command line execution as the new part of the query initializes.

It will be appreciated that a query execution, which can set up static nodes and dynamic nodes (often identical to static nodes except for extra coding to enable listener setup) in an update propagation graph, can gather top-level and query operation performance data. Each part of the query's operation code can be enclosed within an entry of performance data (702-716). The entry of performance data (702-716) can be started and registered with a performance monitoring framework at the beginning of a query operation code block. The entry of performance data (702-716) can be closed at the end of the query execution and/or aborted as a side-effect of early termination of the query execution in the event of a thrown and caught exception event.

It will also be appreciated that performance data entries for query operations can be invoked by other higher-level operations, and thus have their life-cycles enclosed within the higher-level operation's entries, and can have an associated log table row appear before an enclosing operation's rows.

FIG. 7A is an example of generation and collection of performance data for the dynamic execution of a query 750 in accordance with some implementations. In this example, it is assumed that the update propagation graph has already been created by the execution of a query task and initial data 718 has already been generated, collected, and forwarded to the performance table logger 410 and logged into top-level query log 412 and query operation log 414. The example demonstrates the dynamic nodes 612 from FIG. 6 and the performance table logger 410 and update log 416 from FIG. 4. The dynamic nodes (614, 616, 618, 620, 622) can each contain a result object (606, 614) and an notification listener (e.g., 604, 612). Each notification listener (604, 612) can create listener data (754, 756, 758, 760, 762) for forwarding to the performance table logger 410 to be logged in the update log 416. This process is further described below in FIG. 10.

The listener data (754, 756, 758, 760, 762) can contain information related to the update of its associated node. For example, listener data 1 754 can contain information about the most recent update to node 614; listener data 2 756 can contain information about the most recent update to node 616; listener data 3 758 can contain information about the most recent update to node 618; listener data 4 760 can contain information about the most recent update to node 620; and listener data 5 762 can contain information about the most recent update to node 622. The update to each node can be initiated with an add, modify, delete, re-index, or other type message received from the parent node. Because the updates to the nodes can propagate from node 614 through node 6, the listener data can be collected first at listener data 1 754, followed by the collection at listener data 2, 756, and so forth to listener data 5 762.

It will be appreciated that a set of changes e.g. add, modify, delete, re-index, or other type message can be reported to a notification listener in an individual message or in single messages for update propagation. Other type messages can include messages for changes to non-tabular data.

It will be appreciated that listener data 1 754, listener data 2 756, listener data 3 758, listener data 4 760, or listener data 5 762 can be collected in a buffer before being forwarded to the performance table logger 410 in a single communication or each listener data (754, 746, 758, 760, 762) can be forwarded separately to the performance table logger 410 as it occurs.

FIG. 7B is a diagram of an example of the relationship between three different types of query performance logging 780 in accordance with some implementations. The top level query log 412 can receive initial data 718 collected from an initial query via the performance table logger 410. The query operation log 414 can receive initial subtask data 718 via the performance table logger 410. The update log 416 can receive listener data from dynamic nodes via the performance table logger 410. Time ‘x’ 782 can be marked as the time the query was initially executed. The collection interval 784 can be the time elapsed since the initial query time or the time elapsed since the last update.

FIG. 8 is a diagram of an example of a top-level query log 800 in accordance with some implementations. A top-level query log 412 can collect for each query task one or more rows of data that can describe the performance of an entire query. An example of a subset of query data collected in the top-level query log can be an execution date 802, a query ID 804, a query start time 808, a query end time 810, and the query initial execution duration 814. An example of other query data collected in the top-level query log can be a query dispatcher name, a query processing host name, a query submitting client host name, a query request ID, a query request description, a remote query processor name, a remote query processor ID, a query class name, a query client name, a query job submission name, a query number, a time out, a request heap size, a remote query processor heap size, extra Java Virtual Machine arguments, class path additions, total free memory, a total memory used, free memory change, total memory change, number first time data reads, number of repeated data reads, average first time data read time, average repeated data read time, interruptions, result class name, result size, whether replayed data used, exceptions, query instance, and pushed classes.

It will be appreciated that any data that is collectable regarding the initial execution of a query or summary data thereof can be a potential candidate for the top level query log. Additional log data can be added or removed by adjusting the log collection configuration. It will also be appreciated that log data can be calculated from collected data. For example, duration 814 can be calculated by subtracting the start time 808 from end time 810.

FIG. 9 is a diagram of an example of a query operation log 900 in accordance with some implementations. A query operation log can collect for each instrumented subtask of a query task one or more rows of data logged in order of subtask completion that can describe the performance of that query subtask. An example of a subset of query data collected in the query operation log can be a query ID 902, an operation number 904, a subtask description 906, an input size 908, and a subtask duration 910. An example of other query subtask data collected in the query operation log can be query subtask end time, subtask duration, subtask execution date, subtask query dispatcher name, subtask server host, subtask client host, subtask request ID, caller lines, whether top level, compilation status (e.g., marking sub-tasks that can correspond to a compilation of a query-language string into executable code), start time, free memory change, total memory change, number of first time data reads, number of repeated data reads, average first time data read time, average repeated data read time, interruptions.

It will be appreciated that any data that is collectable regarding the execution of a query subtasks can be a potential candidate for the query operation log. Additional log data can be added or removed by adjusting the log collection configuration. It will also be appreciated that log data can be calculated from collected data.

FIG. 9A is a diagram of an example of an update log 950 in accordance with some implementations. An update log can contain one or more rows for each node in the update propagation graph per interval or at the end of the update propagation graph refresh cycle in order to record performance of the notification listeners in propagating update propagation graph updates. The interval duration can be configurable. If the update propagation graph refresh cycle has not completed within the interval, the end of the update propagation graph refresh cycle can control the timing of the log entry.

An example update log row can contain an interval start time 952, an interval end time 954, an entry ID 956, an entry description 958, and execution time 960. An example of other update data collected in the update log can be ratio (e.g., ratio of an update time for a node to interval time), total memory free, total memory used, date, server host, dispatcher name, remote query processor name, remote query processor start time, client host, query name, entry caller line, entry interval usage, entry interval added, entry interval removed, entry interval modified, entry interval initial data reads, entry interval repeat data reads, entry interval average initial data read time, and entry interval average repeat data read time.

It will be appreciated that any data that is collectable regarding a query update can be a potential candidate for the update log. Additional log data can be added or removed by adjusting the log collection configuration. It will also be appreciated that log data can be calculated from collected data.

FIG. 10 is a flowchart showing an example method 1000 of method of operation for a performance data processing architecture in accordance with some implementations. Processing begins at 1002, when a query is executed. Processing continues to 1004, 1006, and 1008.

At 1004, an initial set of performance data is collected for the entirety of the query task.

At 1006, performance data is generated and collected for each instrumented subtask of a query task. It will be appreciated that two or more sets of data may be connected by a common query ID.

At 1008, performance data is generated and collected by the notification listener associated with the dynamic node for each dynamic node in the update propagation graph over an interval duration. An update log can contain one or more rows for each node in the update propagation graph per interval or at the end of the update propagation graph refresh cycle in order to record performance of the notification listeners in propagating update propagation graph updates. The interval duration can be configurable. The interval duration can also be extended if the entire update propagation graph update, also known as an update propagation graph refresh cycle, requires a longer duration than the configured duration.

At 1010, the performance data from steps 1004, 1006, and 1008 is received for processing by a performance table logger 410. If the data is the initial performance data for the query 1004, the performance table logger 410 formats the received initial query data 718 into one or more rows of data for the top-level query log 412. The collected subtask data 1006 is also formatted by the performance table logger 410 into one or more rows of data for each subtask of the entire query. If the collected data is node interval performance data 1008, the performance table logger 410 formats the received interval performance data 1008 into one or more rows of data for each updated update propagation graph node.

It will be appreciated that data can be received by the performance table logger 410 as individual data packets or as an array or array equivalent of data packets, and that data of each type (top-level, sub-task, and update) may be received as part of the same logical message.

At 1012, the formatted performance data for the entire query is written to the top-query log table.

At 1014, the formatted data that was collected for each instrumented subtask of a query is written to the query operation log table.

At 1016, the formatted data that was collected for each dynamic update propagation graph node during an interval duration or an update propagation graph refresh cycle is written to the update log table.

It will be appreciated that formatted data written to the top-query log table, query operation log table and update log table can be written to a buffer before writing to the tables. It will also be appreciated that the size of the log tables can be managed by archiving older log table rows.

At 1018, the data collected in the top-level query log table, the query operation log table, and the update log table is analyzed for insight into the performance of queries.

At 1020, the performance analysis can be used to determine query performance or query system issues.

It will be appreciated that performance analysis of query data can be useful in determining input/output bottleneck trends, peak time-of-day sizing requirement, inefficient query algorithms, users who would benefit from training in formulating queries, which code users are actually using, major areas where the system need performance tuning, and the like.

It will be appreciated that the modules, processes, systems, and sections described above can be implemented in hardware, hardware programmed by software, software instructions stored on a nontransitory computer readable medium or a combination of the above. A system as described above, for example, can include a processor configured to execute a sequence of programmed instructions stored on a nontransitory computer readable medium. For example, the processor can include, but not be limited to, a personal computer or workstation or other such computing system that includes a processor, microprocessor, microcontroller device, or is comprised of control logic including integrated circuits such as, for example, an Application Specific Integrated Circuit (ASIC), afield programmable gate array (FPGA), graphics processing unit (GPU), or the like. The instructions can be compiled from source code instructions provided in accordance with a programming language such as Java, C. C++, C#.net, assembly or the like. The instructions can also comprise code and data objects provided in accordance with, for example, the Visual Basic™ language, a specialized database query language, or another structured or object-oriented programming language. The sequence of programmed instructions, or programmable logic device configuration software, and data associated therewith can be stored in a nontransitory computer-readable medium such as a computer memory or storage device which may be any suitable memory apparatus, such as, but not limited to ROM, PROM, EEPROM, RAM, flash memory, disk drive and the like.

Furthermore, the modules, processes systems, and sections can be implemented as a single processor or as a distributed processor. Further, it should be appreciated that the steps mentioned above may be performed on a single or distributed processor single and/or multi-core, or cloud computing system). Also, the processes, system components, modules, and sub-modules described in the various figures of and for embodiments above may be distributed across multiple computers or systems or may be co-located in a single processor or system. Example structural embodiment alternatives suitable for implementing the modules, sections, systems, means, or processes described herein are provided below.

The modules, processors or systems described above can be implemented as a programmed general purpose computer, an electronic device programmed with microcode, a hard-wired analog logic circuit, software stored on a computer-readable medium or signal, an optical computing device, a networked system of electronic and/or optical devices, a special purpose computing device, an integrated circuit device, a semiconductor chip, and/or a software module or object stored on a computer-readable medium or signal, for example.

Embodiments of the method and system (or their sub-components or modules), may be implemented on a general-purpose computer, a special-purpose computer, a programmed microprocessor or microcontroller and peripheral integrated circuit element, an ASIC or other integrated circuit, a digital signal processor, a hardwired electronic or logic circuit such as a discrete element circuit, a programmed logic circuit such as a PLD, PLA, FPGA, PAL, or the like. In general, any processor capable of implementing the functions or steps described herein can be used to implement embodiments of the method, system, or a computer program product (software program stored on a nontransitory computer readable medium).

Furthermore, embodiments of the disclosed method, system, and computer program product (or software instructions stored on a nontransitory computer readable medium) may be readily implemented, fully or partially, in software using, for example, object or object-oriented software development environments that provide portable source code that can be used on a variety of computer platforms. Alternatively, embodiments of the disclosed method, system, and computer program product can be implemented partially or fully in hardware using, for example, standard logic circuits or a VLSI design. Other hardware or software can be used to implement embodiments depending on the speed and/or efficiency requirements of the systems, the particular function, and/or particular software or hardware system, microprocessor, or microcomputer being utilized. Embodiments of the method, system, and computer program product can be implemented in hardware and/or software using any known or later developed systems or structures, devices and/or software by those of ordinary skill in the applicable art from the function description provided herein and with a general basic knowledge of the software engineering and computer networking arts.

Moreover, embodiments of the disclosed method, system, and computer readable media (or computer program product) can be implemented in software executed on a programmed general purpose computer, a special purpose computer, a microprocessor, or the like.

It is, therefore, apparent that there is provided, in accordance with the various embodiments disclosed herein, methods, systems and computer readable media for collection and processing of query performance data.

Application Ser. No. ______, entitled “DATA PARTITIONING AND ORDERING” (Attorney Docket No. W1.1-10057) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “COMPUTER DATA SYSTEM DATA SOURCE REFRESHING USING AN UPDATE PROPAGATION GRAPH” (Attorney Docket No. W1.4-10058) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “COMPUTER DATA SYSTEM POSITION-INDEX MAPPING” (Attorney Docket No. W1.5-10083) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “SYSTEM PERFORMANCE LOGGING OF COMPLEX REMOTE QUERY PROCESSOR. QUERY OPERATIONS” (Attorney Docket No. W1.6-10074) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “DISTRIBUTED AND OPTIMIZED GARBAGE COLLECTION OF REMOTE AND EXPORTED TABLE HANDLE LINKS TO UPDATE PROPAGATION GRAPH NODES” (Attorney Docket No. W1.8-10085) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “COMPUTER DATA SYSTEM CURRENT ROW POSITION QUERY LANGUAGE CONSTRUCT AND ARRAY PROCESSING QUERY LANGUAGE CONSTRUCTS” (Attorney Docket No. W2.1-10060) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “PARSING AND COMPILING DATA SYSTEM. QUERIES” (Attorney Docket No. W2.2-10062) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “DYNAMIC FILTER PROCESSING” (Attorney Docket No. W2.4-10075) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “DYNAMIC JOIN PROCESSING USING REAL-TIME MERGED NOTIFICATION LISTENER” (Attorney Docket No. W2.6-10076) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “DYNAMIC TABLE INDEX. MAPPING” (Attorney Docket No. W2.7-10077) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “QUERY TASK PROCESSING BASED ON MEMORY ALLOCATION AND PERFORMANCE CRITERIA” (Attorney Docket No. W2.8-10094) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “A MEMORY-EFFICIENT COMPUTER SYSTEM FOR DYNAMIC UPDATING OF JOIN PROCESSING” (Attorney Docket No. W2.9-10107) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “QUERY DISPATCH AND EXECUTION ARCHITECTURE” (Attorney Docket No. W3.1-10061) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “COMPUTER DATA DISTRIBUTION ARCHITECTURE” (Attorney Docket No. W3.2-10087) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “DYNAMIC UPDATING OF QUERY RESULT DISPLAYS” (Attorney Docket No. W3.3-10059) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “DYNAMIC CODE LOADING” (Attorney Docket No. W3.4-10065) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “IMPORTATION, PRESENTATION, AND PERSISTENT STORAGE OF DATA” (Attorney Docket No. W3.5-10088) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “COMPUTER DATA DISTRIBUTION ARCHITECTURE” (Attorney Docket No. W3.7-10079 and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “PERSISTENT QUERY DISPATCH AND EXECUTION ARCHITECTURE” (Attorney Docket No. W4.2-10089) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “SINGLE INPUT GRAPHICAL USER INTERFACE CONTROL ELEMENT AND METHOD” (Attorney Docket No. W4.3-10063) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “GRAPHICAL USER INTERFACE DISPLAY EFFECTS FOR A COMPUTER DISPLAY SCREEN” (Attorney Docket No. W4.4-10090) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “COMPUTER ASSISTED COMPLETION OF HYPERLINK COMMAND SEGMENTS” (Attorney Docket No. W4.5-10091) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “HISTORICAL DATA REPLAY UTILIZING A COMPUTER SYSTEM” (Attorney Docket No. W5.1-10080) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “DATA STORE ACCESS PERMISSION SYSTEM WITH INTERLEAVED APPLICATION OF DEFERRED ACCESS CONTROL FILTERS” (Attorney Docket No. W6.1-10081) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

Application Ser. No. ______, entitled “REMOTE DATA OBJECT PUBLISHING/SUBSCRIBING SYSTEM HAVING A MULTICAST KEY-VALUE PROTOCOL” (Attorney Docket No. W7.2-10064) and filed in the United States Patent and Trademark Office on May 14, 2016, is hereby incorporated by reference herein in its entirety as if fully set forth herein.

While the disclosed subject matter has been described in conjunction with a number of embodiments, it is evident that many alternatives, modifications and variations would be, or are, apparent to those of ordinary skill in the applicable arts. Accordingly. Applicants intend to embrace all such alternatives, modifications, equivalents and variations that are within the spirit and scope of the disclosed subject matter. 

What is claimed is:
 1. A system for improving performance of a remote query computer system by using dynamic query performance logging to identify and remediate efficiency impediments in the remote query computer system, the system comprising: one or more processors; computer readable storage coupled to the one or more processors, the computer readable storage having stored thereon instructions that, when executed by the one or more processors, cause the one or more processors to perform operations including: receiving at a remote query processor on a query server computer a digital request for a remote query processor from a client computer; at the query server computer performing operations including: receiving a digital request from the client computer to execute a query task; executing the query task; generating a set of query task data; generating a set of query subtask data; collecting the set of query task data; digitally transmitting the set of query task data to one or more performance table loggers; collecting the set of query subtask data; transmitting the set of query subtask data to one or more performance table logger processes; the one or more performance table logger processes writing the set of query task data to a first set of electronic data systems for subsequent retrieval and analysis; the one or more performance table logger processes writing the set of query subtask data to a second set of electronic data systems for subsequent retrieval and analysis; with a processor retrieving the set of query task data and the set of query subtask data; using a performance-enhancing processor to analyze the retrieved set of query task data and the retrieved set of query subtask data to obtain an analysis result; with the performance-enhancing processor, identifying based on the analysis result an efficiency impediment in the query server computer; and responsive to the identifying, using a processor to make changes to the stored instructions and thereby alleviate the identified efficiency impediment and improve efficiency of the remote query computer system, wherein the efficiency impediment is one or more of: a dataflow bottleneck, excessive use of processor resources, or excessive use of RAM.
 2. The system of claim 1, further comprising: configuring a query update interval; executing a query update within the query update interval; generating a set of query update data; collecting the set of query update data; and writing the set of query update data to a third set of data systems for subsequent retrieval and analysis.
 3. The system of claim 1, further comprising: configuring a query update interval; executing a query update; determining that the query update may not complete within the query update interval; extending the query update interval to allow a full execution of the query update; generating a set of query update data; collecting the set of query update data; and writing the set of query update data to a third set of data systems.
 4. The system of claim 1, wherein the query task data includes an initial data from one or more nodes of an update propagation graph.
 5. The system of claim 1, where the query task includes at least one of an instance of a class implementing a remote query interface; a remote method invocation on a table handle object; and a script or line of scripting code to be evaluated by an interpreter on a remote query processor.
 6. The system of claim 2, wherein generating a set of query update data includes: listening for an update to one or more dynamic nodes of an update propagation graph; determining an occurrence of an update to one or more nodes of the update propagation graph; and creating data for each occurrence of an update to one or more nodes of the update propagation graph.
 7. The system of claim 1, where first set of data systems for subsequent retrieval and analysis and the second set of data systems for subsequent retrieval and analysis include: at least one of database tables and objects; and where the query task data includes performance data.
 8. A method comprising: executing a query task; generating a set of query task data; generating a set of query subtask data; collecting the set of query task data; collecting the set of query subtask data; writing the set of query task data to a first set of data systems for subsequent retrieval and analysis; and writing the set of query subtask data to a second set of data systems for subsequent retrieval and analysis.
 9. The method of claim 8, further comprising: configuring a query update interval; executing a query update within the query update interval; generating a set of query update data; collecting the set of query update data; and writing the set of query update data to a third set of data systems or subsequent retrieval and analysis.
 10. The method of claim 8, further comprising: configuring a query update interval; executing a query update; determining that the query update may not complete within the query update interval; extending the query update interval to allow a full execution of the query update; generating a set of query update data; collecting the set of query update data; and writing the set of query update data to a third set of data systems.
 11. The method of claim 8, wherein the first set of query task data includes an initial data from one or more nodes of an update propagation graph.
 12. The method of claim 8, where a query task includes at least one of an instance of a class implementing a remote query interface; a remote method invocation on a table handle object; and a script or line of scripting code to be evaluated by an interpreter on a remote query processor.
 13. The method of claim 9, wherein generating a set of query update data includes: listening for an update to one or more dynamic nodes of an update propagation graph; determining an occurrence of an update to one or more nodes of the update propagation graph; and creating data for each occurrence of an update to one or more nodes of the update propagation graph.
 14. The method of claim 8, where first set of data systems for subsequent retrieval and analysis and the second set of data systems for subsequent retrieval and analysis include: at least one of database tables and objects; and where the query task data includes performance data.
 15. A nontransitory computer readable medium having stored thereon software instructions that, when executed by one or more processors; cause the one or more processors to perform operations including: receiving a digital request from a client computer to execute a query task; executing the query task; generating a set of query task data; generating a set of query subtask data; collecting the set of query task data; digitally transmitting the set of query task data to one or more performance table loggers; collecting the set of query subtask data; transmitting the set of query subtask data to one or more performance table logger processes; the one or more performance table logger processes writing the set of query task data to a first set of electronic data systems for subsequent retrieval and analysis; the one or more performance table logger processes writing the set of query subtask data to a second set of electronic data systems for subsequent retrieval and analysis; retrieving the set of query task data and the set of query subtask data; analyzing the retrieved set of query task data and the retrieved set of query subtask data to obtain an analysis result; identifying based on the analysis result an efficiency impediment in a query server computer system; and making changes to the stored instructions and thereby alleviating the identified efficiency impediment and improve efficiency of a remote query computer system, wherein the efficiency impediment is one or more of: a dataflow bottleneck, excessive use of processor resources, or excessive use of RAM.
 16. The nontransitory computer readable medium of claim 15, further comprising: configuring a query update interval; executing a query update within the query update interval; generating a set of query update data; collecting the set of query update data; and writing the set of query update data to a third set of data systems or subsequent retrieval and analysis.
 17. The method of claim 15, where first set of data systems for subsequent retrieval and analysis and the second set of data systems for subsequent retrieval and analysis include: at least one of database tables and objects; and where the query task data includes performance data.
 18. The nontransitory computer readable medium of claim 15, wherein the query task data includes an initial data from one or more nodes of an update propagation graph.
 19. The nontransitory computer readable medium of claim 15, where the query task includes at least one of an instance of a class implementing a remote query interface; a remote method invocation on a table handle object; and a script or line of scripting code to be evaluated by an interpreter on a remote query processor.
 20. The nontransitory computer readable medium of claim 16, wherein generating a set of query update data includes: listening for an update to one or more dynamic nodes of an update propagation graph; determining an occurrence of an update to one or more nodes of the update propagation graph; and creating data for each occurrence of an update to one or more nodes of the update propagation graph. 